package com.scalar.chiptrack.finance.costCode;

import java.io.Serializable;

/**
 * User: Ganesh
 * Date: Aug 03, 2007
 * Time: 10:57:52 AM
 */
public class CostCodeMaster implements Serializable
{
    private int autoId;
    private String waferPartNumber;
    private String packageType;
    private String pinCount;
    private String costCode;
    private String type;


    public CostCodeMaster()
    {
        autoId          = -1;
        waferPartNumber = "";
        packageType     = "";
        pinCount        = "";
        costCode        = "";
        type            = "";
    }


    public int getAutoId() {
        return autoId;
    }

    public void setAutoId(int autoId) {
        this.autoId = autoId;
    }

    public String getWaferPartNumber() {
        return waferPartNumber;
    }

    public void setWaferPartNumber(String waferPartNumber) {
        this.waferPartNumber = waferPartNumber;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public String getPinCount() {
        return pinCount;
    }

    public void setPinCount(String pinCount) {
        this.pinCount = pinCount;
    }

    public String getCostCode() {
        return costCode;
    }

    public void setCostCode(String costCode) {
        this.costCode = costCode;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String toString()
    {
        StringBuffer sb = new StringBuffer();

        //sb.append("----------Release Lot Object----------\n");
        sb.append("[ autoId = " + autoId + " ]");
        sb.append("[ type = " + type + " ]");
        sb.append("[ waferPartNumber = " + waferPartNumber + " ]");
        sb.append("[ packageType = " + packageType + " ]");
        sb.append("[ pinCount = " + pinCount + " ]");
        sb.append("[ costCode = " + costCode + " ]\n");

        return sb.toString();
    }
}
